<template>
  <div class="menuSelect">
    <div class="menu">
      <router-link to="/myMusic/authInfo" class="menu-list" active-class="menu-list-active" tag="div">
        <span class="iconfont active-iconfont">&#xe608;</span>
        <span>作者信息</span>
      </router-link>
      <router-link to="/myMusic/systemSetting" class="menu-list" active-class="menu-list-active" tag="div">
        <span class="iconfont">&#xe60c;</span>
        <span>系统配置</span>
      </router-link>
    </div>
    <div class="router-view">
      <router-view></router-view>
    </div>
  </div>
</template>

<script>
  export default {
    name:"menuSelect"
  }
</script>

<style lang="scss" scoped>
.menuSelect{
  flex:1;
  display: flex;
  .router-view{
    flex:1;
  }
  .menu{
    background-color: rgb(249,249,249);
    width:230px;
    border-right:1px solid rgb(211,211,211);
    font-size: 12px;
    color:#000;
    .menu-list{
      box-sizing: border-box;
      height:60px;
      padding:10px 0;
      display: flex;
      justify-content: center;
      align-content: center;
      text-align: center;
      line-height:40px;
      font-size:16px;
      cursor: pointer;
      border-bottom:1px solid rgb(211,211,211);
      &:hover{
        background-color: rgb(242,242,242);
      }
      .iconfont{
        margin-right:10px;
        font-size:20px;
      }
    }
    .menu-list-active{
      background-color: rgb(230,230,230);
      &:hover{
        background-color: rgb(230,230,230);
      }
    }
  }
}
.active-iconfont{
  font-size: 16px!important;
}
</style>